package com.i2863.newcms.api.service.impl;

import com.i2863.newcms.api.service.UserService;
import com.i2863.newcms.core.domain.User;
import com.i2863.newcms.core.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    public List<User> findAll(){
        return userMapper.selectAll();
    }



}
